public class test1 {
    public static void main(String[] args) {
 System.out.println("12345");
 System.out.println("1234567");
        System.out.println("1234567");
        System.out.println("1234567");
        System.out.println("1234567");
 System.out.println("123456789");
        System.out.println("1234567");
        System.out.println("1234567");
    }
}
